#pragma once
#include "BaseShape.h"
#ifndef _CObitalBSmallFlower_
#define _CObitalBSmallFlower_

#define NUM_OF_ANGLE 37
class CObitalBSmallFlower : public BaseShape
{
public:
	double xCenter, yCenter;
	double xCenter1, yCenter1;
	double radiansOffset;
	double lengthSide;
	CObitalBSmallFlower(void);
	CObitalBSmallFlower(CPoint, CPoint, COLORREF);
	BOOL Draw(CDC *cDC);
	~CObitalBSmallFlower(void);
	CObitalBSmallFlower (CPoint m_pBegin, CPoint m_pEnd, COLORREF m_clrBack, COLORREF m_cPenColor, BASESHAPE__T m_nShapeType, INT m_nRotate);
	void Serialize ( CArchive &ar );
private:
	//thiet lap toa do cho cac dinh trong hinh chu nhat
	void setCoordinate();
	void DrawNullRect(CDC *);
	int AngleDist();
};
#endif

